package com.jxmcloud.business.cut.service.logic;

import com.jxmcloud.business.cut.vo.user.PlayerInfoVo;

/**
 * 支付模块处理
 * @author fengc
 */
public interface IPayHandle {
    /**
     * 检查用户支付密码是否正确
     * @param player
     * @param password
     * @return
     */
    boolean checkUserPassword(PlayerInfoVo player,String password);

    /**
     * 检查用户是否有足够的余额
     * @param player
     * @param payPrice
     * @return
     */
    boolean checkUserBalance(PlayerInfoVo player,Long payPrice);

    /**
     * 转账
     * @param xuanleForm
     * @param xuanleTo
     * @param payPrice
     * @return
     */
    boolean tansferMoney(Long xuanleForm,Long xuanleTo,Long payPrice);
}
